package com.itheima.mapper;

import com.itheima.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 部门模块持久层
 */
@Mapper
public interface DeptMapper {
    List<Dept> findAll();

    void insert(Dept dept);
}
